package com.team2.outpatient_sys.pojo;

public class Distribution {
    private Integer id;
    private Integer medicineId;
    private String distributionName;
    private String receiveName;
    private Integer distributionNumber;
    private String distributionTime;
    private String distributionState;
    private String dateManufacture;


    public Distribution(){}

    @Override
    public String toString() {
        return "Distribution{" +
                "id=" + id +
                ", medicineId=" + medicineId +
                ", distributionName='" + distributionName + '\'' +
                ", receiveName='" + receiveName + '\'' +
                ", distributionNumber=" + distributionNumber +
                ", distributionTime='" + distributionTime + '\'' +
                ", distributionState='" + distributionState + '\'' +
                ", dateManufacture='" + dateManufacture + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMedicineId() {
        return medicineId;
    }

    public void setMedicineId(Integer medicineId) {
        this.medicineId = medicineId;
    }

    public String getDistributionName() {
        return distributionName;
    }

    public void setDistributionName(String distributionName) {
        this.distributionName = distributionName;
    }

    public String getReceiveName() {
        return receiveName;
    }

    public void setReceiveName(String receiveName) {
        this.receiveName = receiveName;
    }

    public Integer getDistributionNumber() {
        return distributionNumber;
    }

    public void setDistributionNumber(Integer distributionNumber) {
        this.distributionNumber = distributionNumber;
    }

    public String getDistributionTime() {
        return distributionTime;
    }

    public void setDistributionTime(String distributionTime) {
        this.distributionTime = distributionTime;
    }

    public String getDistributionState() {
        return distributionState;
    }

    public void setDistributionState(String distributionState) {
        this.distributionState = distributionState;
    }

    public String getDateManufacture() {
        return dateManufacture;
    }

    public void setDateManufacture(String dateManufacture) {
        this.dateManufacture = dateManufacture;
    }

    public Distribution(Integer id, Integer medicineId, String distributionName, String receiveName, Integer distributionNumber, String distributionTime, String distributionState, String dateManufacture) {
        this.id = id;
        this.medicineId = medicineId;
        this.distributionName = distributionName;
        this.receiveName = receiveName;
        this.distributionNumber = distributionNumber;
        this.distributionTime = distributionTime;
        this.distributionState = distributionState;
        this.dateManufacture = dateManufacture;
    }
}
